]> dgit.raspbian.org Git - gnome-shell.git/commit
ControlsManagerLayout: Cache workAreaBox
authorIvan Molodetskikh <yalterz@gmail.com>
Sun, 31 Jul 2022 04:59:33 +0000 (21:59 -0700)
committerMarge Bot <marge-bot@gnome.org>
Mon, 1 Aug 2022 00:48:07 +0000 (00:48 +0000)
commit8562606ad11b05435df78015ee4e8f6c4caff53a
tree708f4fa256f3d326c25574dedf6f5b3beb550b09
parentc3284eb8ac7e4ede272de5ab7a147c4780f1e3e8
ControlsManagerLayout: Cache workAreaBox

Allocation runs every frame during the overview animations, so we want
to do as little work there as possible. Cache the work area box
computation.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2395>
js/ui/overviewControls.js